package com.xiaoyung.easyisapisdk.common.util;

import feign.FeignException;

/**
 * api 调用异常
 */
public class ApiException extends FeignException {//FeignException 不会被DecodeException包裹一层
	private static final long serialVersionUID = 1L;

	public ApiException(Integer code,String msg) {
		super(code,msg);
	}
	public static void main(String[] args) {
		new ApiException(10, null).getMessage();
	}
}
